import React, { Component } from 'react'
import { AppWrapper } from './style'

export default class App extends Component {
  state = {
    theme: 'green'
  }
  render() {
    return (
      <AppWrapper theme={this.state.theme}>
        <h1 className="title">styled-component</h1>
        <span className="text">text</span>
      </AppWrapper>
    )
  }
}
